import request from '@/utils/request'

// 查询退休人员补贴工资修改日志列表
export function listRetiresPayrollLog(query) {
  return request({
    url: '/compensationManagement/retiresPayrollLog/list',
    method: 'get',
    params: query
  })
}

// 查询退休人员补贴工资修改日志详细
export function getRetiresPayrollLog(logId) {
  return request({
    url: '/compensationManagement/retiresPayrollLog/' + logId,
    method: 'get'
  })
}

// 新增退休人员补贴工资修改日志
export function addRetiresPayrollLog(data) {
  return request({
    url: '/compensationManagement/retiresPayrollLog',
    method: 'post',
    data: data
  })
}

// 修改退休人员补贴工资修改日志
export function updateRetiresPayrollLog(data) {
  return request({
    url: '/compensationManagement/retiresPayrollLog',
    method: 'put',
    data: data
  })
}

// 删除退休人员补贴工资修改日志
export function delRetiresPayrollLog(logId) {
  return request({
    url: '/compensationManagement/retiresPayrollLog/' + logId,
    method: 'delete'
  })
}
